import Vue from 'vue'
import Router from 'vue-router'
import Discover from '../components/discover/discover'
import Friends from '../components/friends/friends'
import Message from '../components/message/message'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/discover',
      name: 'discover',
      component: Discover
    },
    {
      path: '/friends',
      name: 'friends',
      component: Friends
    }, {
      path: '/message',
      name: 'message',
      component: Message
    }
  ]
})
